<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html ng-app="login_moudel">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>网站广告资源管理平台--登陆界面</title>
    <link href="css/login.css" type="text/css" rel="stylesheet" />
</head>
<body ng-controller="loginMain">
<div id="header">网站广告资源管理平台</div>
<div class="form">
    <div class="form_tit">登陆</div>
    <div class="ground-input">
        <input type="text" placeholder="用户名" ng-model="name" focus-me />
    </div>
    <div class="ground-input">
        <input type="password" placeholder="密码" ng-model="pwd" ng-enter="login()" />
    </div>
    <div class="ground-button">
        <button ng-click="login()">登陆</button>
    </div>
    <div class="change_form"><span>注册新用户</span></div>
</div>
<div class="form hide">
    <div class="form_tit">注册</div>
    <div class="ground-input">
        <input type="text" placeholder="用户名" ng-model="reg_name" />
    </div>
    <div class="ground-input">
        <input type="password" placeholder="密码必须是数字和字母的6-16位数" ng-model="reg_pwd" />
    </div>
    <div class="ground-input">
        <input type="password" placeholder="再次输入密码" ng-model="reg_rpwd" ng-enter="regist()" />
    </div>
    <div class="ground-button">
        <button ng-click="regist()">登陆</button>
    </div>
    <div class="change_form"><span>直接登陆</span></div>
</div>
<script src="js/angular.min.js"></script>
<script src="js/jquery-1.11.3.min.js"></script>
<script src="js/jquery.cookie.js"></script>
<script src="js/config.js"></script>
<script src="js/app.js"></script>
<script src="js/login.js"></script>
</body>
</html>
